//
//  BankPopupViewController.m
//  CreditHub
//
//  Created by chenglang on 2024/9/22.
//

#import "BankPopupViewController.h"

@interface BankPopupViewController ()

@end

@implementation BankPopupViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.labelBank.text = self.account;
}
- (IBAction)clickOk:(id)sender {
    __weak typeof(self) weakSelf = self;
    [self dismissViewControllerAnimated:YES completion:^{
        if(weakSelf.okBlock){
            weakSelf.okBlock();
        }
    }];
}
- (IBAction)clickClose:(id)sender {
    [self dismissViewControllerAnimated:YES completion:^{
        
    }];
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
